'user strict'

const Koa = require('koa');
const sha1 = require('sha1');

const config = require('./config');
const wechat = require('./wechat/g');
const weixin = require('./weixin');

let app = new Koa();

app.use(wechat(config.wechat, weixin.reply));

app.listen(8989);
console.log('listen');
